package com.itheima.commons.model.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

/**
 * 对应tb_user_freeze表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserFreeze implements Serializable {
    @Id
    //主键
    private Integer id;
    //用户id
    private Integer userId;
    //（1正常.2冻结）
    private String userStatus;
    //冻结时长：1三天、2七天、3永久
    private Integer freezeTime;
    //冻结开始时间
    private Date freezeStart;
    //冻结结束时间
    private Long freezeEnd;
    //冻结原因
    private String freezeReason;
    //冻结范围
    private String freezeRange;
    //冻结备注
    private String freezeRemarks;
    //解冻原因
    private String reasonsForThawing;
    //管理员id
    private Long adminId;
    //管理员ip
    private String adminIp;
}
